package com.wetao.lib_common.greendao.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * author: zhouyh
 * created on: 4/2/21 9:13 AM
 * description: 消息通知
 */
@Entity
public class NoticeItem {

    @Id(autoincrement = true)
    private Long id;

    private String noticeId;
    //通知内容
    private String content;
    //通知时间
    private long time;
    //通知类型
    private String type;

    private String data;

    @Generated(hash = 1369183984)
    public NoticeItem(Long id, String noticeId, String content, long time,
            String type, String data) {
        this.id = id;
        this.noticeId = noticeId;
        this.content = content;
        this.time = time;
        this.type = type;
        this.data = data;
    }

    @Generated(hash = 1816315188)
    public NoticeItem() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNoticeId() {
        return this.noticeId;
    }

    public void setNoticeId(String noticeId) {
        this.noticeId = noticeId;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getTime() {
        return this.time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getData() {
        return this.data;
    }

    public void setData(String data) {
        this.data = data;
    }


}
